package com.mall.product.feign;

import com.mall.common.dto.SkuStoreDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("mall-ware")
public interface WareSkuStroeFeignService {

    @PostMapping("/ware/waresku/hasStore")
    List<SkuStoreDTO> queryStoreInfo(@RequestBody List<Long> skuIdList);

}
